package com.shop.operator.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.shop.mapper.OperatorMapper;
import com.shop.model.Operator;
import com.shop.operator.service.OperatorService;
@Service("operatorLogin")
public class OperatorServiceBean implements OperatorService {

	@Resource
	private OperatorMapper opeartorMapper;
	@Override
	public Operator operatorLogin(String username, String password) throws Exception {
		Operator operator= opeartorMapper.operatorLogin(username, password);
		
		return operator;
	}

}
